function frist1(pid) {
    if (pid==null || pid==""){
        return;
    }
    $.ajax({
        url: prefix + "/getRegion/"+pid,
        type: "get",
        success: function(result) {
            var typelist=$('#frist');
            typelist.empty();
            var second=$('#second');
            second.empty();
            var third=$('#third');
            third.empty();
            typelist.append('<option value="">' +"请选择"+ '</option>');
            second.append('<option value="">' +"请选择"+ '</option>');
            third.append('<option value="">' +"请选择"+ '</option>');
            $.each(result.data, function (index, item) {
                //向select 标签中添加数据
                typelist.append('<option value="' + item.id + '">' + item.regionName + '</option>');

            });

        },
        fail: function () {
            $.modal.alertWarning("系统异常，请联系系统管理员！");
        }
    });

}
function second2(pid) {
    $.ajax({
        url: prefix + "/getRegion/"+pid,
        type: "get",
        success: function(result) {
            var typelist=$('#second');
            var third=$('#third');
            third.empty();
            typelist.empty();
            typelist.append('<option value="">' +"请选择"+ '</option>');
            third.append('<option value="">' +"请选择"+ '</option>');
            $.each(result.data, function (index, item) {
                //向select 标签中添加数据

                typelist.append('<option value="' + item.id + '">' + item.regionName + '</option>');

            });

        },
        fail: function () {
            $.modal.alertWarning("系统异常，请联系系统管理员！");
        }
    });

}
function third3(pid) {
    $.ajax({
        url: prefix + "/getRegion/"+pid,
        type: "get",
        success: function(result) {
            var typelist=$('#third');
            typelist.empty();
            typelist.append('<option value="">' +"请选择"+ '</option>');
            $.each(result.data, function (index, item) {
                //向select 标签中添加数据

                typelist.append('<option value="' + item.id + '">' + item.regionName + '</option>');

            });

        },
        fail: function () {
            $.modal.alertWarning("系统异常，请联系系统管理员！");
        }
    });

}